package com.cloud.api.websockt.message;

import java.util.Map;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ResultData {
	public ResultData(PayLoadData data) {
		this.command = data.getCommand();
		this.token = data.getToken();
		this.event = data.getCommand();
		this.extparams = data.getExtparams();
	}
	private String command;
	private String token;
	private String event;
	private Map<String, String> extparams;
}
